import request from '@/utils/request'

//忽略分页列表 - 反馈
export function queryFeedPageList(data) {
	return request({
		method: 'get',
		url: 'tbMailIgnore/queryFeedPageList',
		headers: {
			userButton: '291f024215a84f5fb7c91ab4f13dc5d1'
		},
		params: data
	})
}

//忽略分页列表 - 成果
export function queryMarvelPageList(data) {
	return request({
		method: 'get',
		url: 'tbMailIgnore/queryMarvelPageList',
		headers: {
			userButton: 'cc2f468092a44522b83ce65fc6dc4be3'
		},
		params: data
	})
}

//设置忽略
export function configMailIgnore(data) {
	return request({
		method: 'post',
		url: 'tbMailIgnore/add',
		headers: {
			userButton: '7832d34b768d4cab83e451743fae1194'
		},
		data
	})
}

//删除忽略
export function deleteMailIgnore(id) {
	return request({
		method: 'post',
		url: 'tbMailIgnore/delete/' + id,
		headers: {
			userButton: 'a5ced9d9ed194b2da36c3a6e1667d20f'
		},
	})
}

//批量删除忽略
export function cancelMailIgnore(data) {
	return request({
		method: 'post',
		url: 'tbMailIgnore/deleteBatch',
		headers: {
			userButton: 'a5ced9d9ed194b2da36c3a6e1667d20f'
		},
		data
	})
}